package Procesos;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.awt.Dimension;
import java.awt.Graphics;
import javax.swing.ImageIcon;
import javax.swing.JPanel;

/**
 *
 * @author
 */
public class claseAdaptada extends JPanel {

    public claseAdaptada() {
        super();
    }

    public void paintComponent(Graphics g) {

        Dimension tam = getSize();
     
           
            ImageIcon imagen = new ImageIcon(getClass().getResource("/Recursos/P1050726.jpg"));
            g.drawImage(imagen.getImage(), 0, 0, tam.width, tam.height, null);
        
            setOpaque(false);

        }
    }
